package com.hengxinguotong.hxgtwygsp.ui.regulation;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.BaseTabFragment;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.regulation.lawRule.LawRuleFragment;
import com.hengxinguotong.hxgtwygsp.ui.regulation.peopleRule.PeopleRuleFragment;
import com.hengxinguotong.hxgtwygsp.ui.regulation.policy.PolicyFragment;
import com.hengxinguotong.hxgtwygsp.ui.regulation.policyRule.PolicyRuleFragment;
import com.hengxinguotong.hxgtwygsp.ui.regulation.propertyRule.PropertyRuleFragment;

/**
 * TODO 规章制度
 *
 * @author hjz
 * @since 2019/4/2 10:35
 * @version V1.0.0
 */
public class RegulationActivity extends DialogActivity
{


    @Override
    public void initFragmentList()
    {
        dialogTitle.setText("通知公告");
        PolicyFragment policyFragment = new PolicyFragment();
        policyFragment.setTabText("公示公告");
        baseTabFragmentList.add(policyFragment);
        BaseTabFragment ownerTab = new PropertyRuleFragment();
        ownerTab.setTabText("重要通知");
        baseTabFragmentList.add(ownerTab);
        BaseTabFragment lawTab = new LawRuleFragment();
        lawTab.setTabText(getString(R.string.main_law_rule));
        baseTabFragmentList.add(lawTab);
        BaseTabFragment policyTab = new PolicyRuleFragment();
        policyTab.setTabText("规则制度");
        baseTabFragmentList.add(policyTab);
        BaseTabFragment guideTab = new PeopleRuleFragment();
        guideTab.setTabText(getString(R.string.main_convenient_guide));
        baseTabFragmentList.add(guideTab);
    }
}
